package com.ruoyi.app.converter;

import com.ruoyi.app.domain.reward.LaborReward;
import com.ruoyi.app.domain.reward.LaborRewardInfo;
import com.ruoyi.service.reward.entity.LaborRewardEntity;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 作用： 用户奖惩信息换换器
 * </p>
 *
 * @author zhanglianbao
 * @since 2025-02-05 16:19
 */
@Mapper(uses = {})
public interface LaborRewardConverter {

  LaborRewardConverter INSTANCE = Mappers.getMapper(LaborRewardConverter.class);

  /**
   *  模型类转换成实体类
   */
  @Mappings({})
  LaborRewardInfo toRewardInfo(LaborRewardEntity rewardEntity);

  /**
   *  模型转实体
   */
  @Mappings({})
  LaborRewardEntity toRewardEntity(LaborReward reward);

}
